/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>Project: spmvcxml - HomeController
 * <p>Powered by webrx On 2022-03-22 16:25:42
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@RestController
public class HomeController {
    @GetMapping("/hello")
    public String hello() {
        return "hello 中文效果";
    }

    @GetMapping("/h2")
    public String[] h2() {
        return new String[]{"郑州","北方","天津","程序设计"};
    }
}
